//
//  PKPlayModel.m
//  PianKe
//
//  Created by lanou on 15/10/7.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "PKPlayModel.h"

@implementation PKPlayModel
- (PKRadioPlayInfo *)playInfo
{
    if (_playInfo == nil) {
        self.playInfo = [[PKRadioPlayInfo alloc]init];
    }
    return _playInfo;
}

-(PKPlayMoreting *)moreting
{
    if (!_moreting) {
        self.moreting = [[PKPlayMoreting alloc]init];
    }
    return _moreting;
}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"playInfo"]) {
        [self.playInfo setValuesForKeysWithDictionary:value];
    }
    else
    {
        [super setValue:value forKey:key];
    }
}

@end
